package top.lixunda.ecommerce.server.good.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.lixunda.ecommerce.server.good.api.entity.db.OrderApplyDO;
import top.lixunda.ecommerce.server.good.api.entity.vo.OrderApplyWithOrderVO;

/**
 * 订单申请服务接口
 *
 * @author lixunda
 * @version time:2020/3/3 16:25
 */
public interface IOrderApplyService extends IService<OrderApplyDO> {

    /**
     * 店铺调用，根据订单id查询未处理的订单申请数据
     *
     * @param id 订单编号
     * @return 返回申请数据和订单基本数据
     */
    OrderApplyWithOrderVO queryOrderApplyByOrderId(Integer id);

}
